﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Forest.Web.Framework.Mvc;
using System.ComponentModel.DataAnnotations;

namespace Forest.Cat.Admin.Models.Resumes
{
    public class WorkExperienceModel : BaseEntityModel
    {
        [Required(ErrorMessage = "职位名称必须输入!")]
        public string JobTitle { get; set; }
        [Required(ErrorMessage = "公司名称必须输入!")]
        public string CompanyName { get; set; }
        [Required(ErrorMessage = "任职部门必须输入!")]
        public string Department { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime? EndDate { get; set; }
        [StringLength(1000, ErrorMessage = "只能输入1000个汉字")]
        public string Description { get; set; }
        public string CategoryName { get; set; }
        public int? Industry { get; set; }
        public bool IsOverseas { get; set; }
        public int? CompanyType { get; set; }
        public int? Category1 { get; set; }
        public int? Category2 { get; set; }
        public string StartYear { get; set; }
        public string StartMonth { get; set; }
        public string EndYear { get; set; }
        public string EndMonth { get; set; }
        public bool IsShielded { get; set; }

        public Guid ResumeId { get; set; }
        public string ReturnUrl { get; set; }
    }
}